<template>
	<view class="contact">
		<view class="contactcen">
			<textarea placeholder="请留下您的宝贵意见或建议，我们将努力改进（反馈内容不少于10个字）" placeholder-style="font-size:28rpx;" maxlength="-1" v-model="content"></textarea>
			<button @click="sub">提交</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:''
			};
		},
		methods:{
			sub(){
				this.$request("Index/AddAbout", {
					data: {
						content:this.content
					},
					isLoad: false
				}).then(res => {
					this.getback()
				})
			}
		},
	}
</script>

<style lang="scss" scoped>
	.contact{
		background-color: #fff;
		height: 100vh;
	}
	.contactcen{
		padding: 36rpx 32rpx 40rpx 32rpx;
		textarea{
			background-color: #F5F6FA;
			border-radius: 8rpx;
			padding: 32rpx 18rpx;
			width: 100%;
			box-sizing: border-box;
			height: 258rpx;
		}
		button{
			background-color: #F7BC1C;
			color: #323233;
			font-weight: bold;
			font-size: 32rpx;
			height:80rpx;
			line-height: 80rpx;
			border-radius: 50rpx;
			margin-top: 40rpx;
		}
	}
</style>
